<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>test</title>
    <script type="text/javascript" src="../javascript/jquery-3.6.0.js" ></script>
</head>
<body>

<script type="text/javascript" >
    if(jQuery) {
        alert('jQuery已加载!');
    }
    else {
        alert('jQuery未加载!');
    }

    $(function() {
        alert("jquery起作用了");
    });
</script>

</body>
</html>